package com.why.serviceorder.utils;

import java.util.UUID;

/**
 * @program: guli_parent
 * @description:
 * @author: @why
 * @create: 2021-02-23 14:28
 **/
public class OrderNoUtil {
    public static String getOrderNo() {
        String uuid = UUID.randomUUID().toString().replaceAll("-", "");
        long millis = System.currentTimeMillis();
        return uuid.substring(0, 6) + String.valueOf(millis);
    }
}
